package org.example.meetingsystem.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum PaymentStatus {

    PENDING("PENDING", "待支付"),
    PAID("PAID", "已支付"),
    REFUNDED("REFUNDED", "已退款");

    @EnumValue
    private final String code;
    private final String desc;

    PaymentStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}